const mongoose = require('mongoose');
<<<<<<< HEAD
const mongoosePageinate = require('mongoose-paginate')
var schema = new mongoose.Schema({
    name: String, //姓名
    age: Number, //年龄
    sex: String, //性别
    Tel: Number, //电话
    QQ: Number, //QQ号
    Idcard: Number, //证件号
    email: String, //邮箱
    address: String, //地址
    hobby: String, //爱好（做成在线编辑器）
    education: String //学历
        // password: String,
})
schema.plugin(mongoosePageinate);
module.exports = mongoose.model('User', schema, 'myuser');
=======
const moment           = require('moment');
const mongoosePaginate = require('mongoose-paginate');
var   schema           = new mongoose.Schema({
    username : String,
    age      : Number,
    sex      : Boolean,
    QQ       : Number,
    emil     : String,
    education: String,
    address  : String,
    carId    : Number,
    phone    : Number,
    hobby    : String
});
schema.plugin(mongoosePaginate);
module.exports = mongoose.model('User',schema);
>>>>>>> 783ebace00a71f04673677ce23d631253369435f
